package cn.wolfcode.wolf2world.elasitcsearch.service.impl;

import cn.wolfcode.wolf2world.elasitcsearch.domain.DestinationEs;
import cn.wolfcode.wolf2world.elasitcsearch.domain.StrategyEs;
import cn.wolfcode.wolf2world.elasitcsearch.repository.StrategyEsRepository;
import cn.wolfcode.wolf2world.elasitcsearch.service.StrategyEsEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 杨兴健
 * @Date 2020/8/20 12:58
 */
@Service
public class StrategyEsEsServiceImpl implements StrategyEsEsService {

    @Autowired
    private StrategyEsRepository strategyEsRepository;

    @Override
    public void save(StrategyEs strategyEs) {
        strategyEsRepository.save(strategyEs);
    }
}
